export default function check_session() {
	return new Promise<{
		success: boolean;
	}>((resolve) => {
		wx.checkSession({
			success() {
				resolve({
					success: true
				});
			},
			fail() {
				resolve({
					success: false
				});
			}
		});
	});
}
